
var timer; // 维护同一个timer
const debounce = (fn, delay = 500) => {
  clearTimeout(timer);
  timer = setTimeout(function() {
    fn();
  }, delay);
}
import DateFormat from './DateFormat.js';
import DuYunDateDataSource from './DuYunDefaultDateDataSource'
module.exports = {
  debounce: debounce,
  DuYunDateDataSource,
  DateFormat,
}